Rename file in Python

import os
os.rename(r"SOURCE_FILE_PATH", r"TARGET_FILE_PATH")